var Pass = function(){



	
var NewPass = new Ext.form.TextField({
		fieldLabel: '新密码',
		 inputType: 'password',
		width : 200,
		name:'newpass',
		allowBlank: false
	});
	var SurePass = new Ext.form.TextField({
		fieldLabel: '确认密码',
		 inputType: 'password',
		width : 200,
		name:'surepass',
		allowBlank: false
	});


this.ModifyPass = new Ext.form.FormPanel({
		frame : true,
		width : 800,
		fileUpload: true, 
		labelWidth : 85,
		buttons : [
		           {text:'确认',icon: '../resources/icons/add.png',scope:this,handler:function()
		           		{addUser.show();	}
		           		},
		          
		           	{text:'重置',icon: '../resources/icons/cross.png',scope:this,handler:function()
		           		{	}//messbox Ext.messbox.confirm('d','choose')
		           		}
		           ],
		           
		items : [{layout:'column',defaults:{layout:'form'},
			      items:[{columnWidth:3,items:[NewPass]},
			      		 {columnWidth:3,items:[SurePass]}
			            ]
				}],

	   listeners: {
	    	render: {fn:function(){ 
					
					
					//strackStore.load();
			}}
		}
	});

};